package com.xms.form.core;

/**
 * <p>
 * FormState
 * </p>
 *
 * @author migo
 * @since 2021/9/3
 */
public enum FormState {
    Create(0, "create"),
    Update(1, "update"),
    ReadOnly(2, "readonly"),
    Disabled(3, "disabled");

    private FormState(int value, String msg) {
        this.val = value;
        this.msg = msg;
    }

    public int val() {
        return val;
    }

    public String msg() {
        return msg;
    }

    private int val;
    private String msg;
}
